package com.ctgu.redislock03.utils.redisLock;

/**
 * @author ALEX
 * @since 2022/10/11 16:20
 */
public interface Lock {
    // 获取锁
    boolean lock(long timeoutSec);
    // 释放锁
    void unlock();
}
